<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;

use App\Http\Requests;

class IndexController extends Controller
{
    //
    public function index(){
        try{
            if ( ! isset($_COOKIE['TOKEN']) )
            {
                return view('front.sign');
            }
            else{

            }
        }
        catch (\Exception $exception)
        {
            return view('errors.503');
        }
    }
}
